package cn.edu.zut.qixiang.mapper;

import cn.edu.zut.qixiang.dto.MapWeatherDTO;
import cn.edu.zut.qixiang.dto.DistrictWeatherDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 86178
 */
@Mapper
public interface WeatherMapMapper {

    List<MapWeatherDTO> selectWeatherMapData(@Param("date") String date);

    DistrictWeatherDTO selectDistrictWeatherInfo(
            @Param("district") String district,
            @Param("date") String date);
}